/*
 * Project: Sudoku Explainer
 * Copyright (C) 2006-2007 Nicolas Juillerat
 * 
 * Project: Sudoku Hint Engine for Android
 * Copyright (C) 2010-2013 Emanuel Moecklin
 * 
 * Available under the terms of the Lesser General Public License (LGPL)
 */
package com.onegravity.sudoku.solver.checks;

import com.onegravity.sudoku.solver.HintResource;
import com.onegravity.sudoku.solver.core.FinalHint;
import com.onegravity.sudoku.solver.data.Grid;

/**
 * Hint used to indicate that a puzzle has no solution.
 */
public class NoSolutionHint extends WarningMessage implements FinalHint {

	private static final long serialVersionUID = -2504580839188579957L;

	public NoSolutionHint(Grid grid) {
		super(grid, null, HintResource.NO_SOLUTION);
	}

	public int getNrOfSteps() {
		return 1;
	}

}